package com.maimang.platform.constant;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname ShiroConstants
 * @description Shiro通用常量
 * @date 2019-03-31 13:41
 * @email jintaozhao@qq.com
 */
public interface ShiroConstants {
	/**
	 * 当前登录的用户
	 */
	String CURRENT_USER = "currentUser";

	/**
	 * 用户名
	 */
	String CURRENT_USERNAME = "username";

	/**
	 * 消息key
	 */
	String MESSAGE = "message";

	/**
	 * 错误key
	 */
	String ERROR = "errorMsg";

	/**
	 * 编码格式
	 */
	String ENCODING = "UTF-8";

	/**
	 * 当前在线会话
	 */
	String ONLINE_SESSION = "online_session";

	/**
	 * 验证码key
	 */
	String CURRENT_CAPTCHA = "captcha";

	/**
	 * 验证码开关
	 */
	String CURRENT_ENABLED = "captchaEnabled";

	/**
	 * 验证码开关
	 */
	String CURRENT_TYPE = "captchaType";

	/**
	 * 验证码
	 */
	String CURRENT_VALIDATECODE = "validateCode";

	/**
	 * 验证码错误
	 */
	String CAPTCHA_ERROR = "captchaError";
}
